package com.hq.fxh.Modle;

import okhttp3.MediaType;
import okhttp3.ResponseBody;
import okio.BufferedSource;

/**
 * /**
 *
 * @author 薛
 * @ClassName
 * @Description :
 * @Created 2017/9/25
 * @Email xlwenhao1858@sina.com
 */


public class JianLiModle extends ResponseBody {

    /**
     * code : 0
     * msg : succ
     * data : {"resume_id":5,"member_id":13989,"name":"这是个神啊","header_url":null,"sex":1,"birthday":"1993/9/25 0:00:00","edu":3,"work":3,"mobile":"15915915915","email":"email","province_id":0,"city_id":0,"marry":1,"state":2}
     */

    private int code;
    private String msg;
    private DataBean data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    @Override
    public MediaType contentType() {
        return null;
    }

    @Override
    public long contentLength() {
        return 0;
    }

    @Override
    public BufferedSource source() {
        return null;
    }

    public static class DataBean {
        /**
         * resume_id : 5
         * member_id : 13989
         * name : 这是个神啊
         * header_url : null
         * sex : 1
         * birthday : 1993/9/25 0:00:00
         * edu : 3
         * work : 3
         * mobile : 15915915915
         * email : email
         * province_id : 0
         * city_id : 0
         * marry : 1
         * state : 2
         */

        private int resume_id;
        private int member_id;
        private String name;
        private Object header_url;
        private int sex;
        private String birthday;
        private int edu;
        private int work;
        private String mobile;
        private String email;
        private int province_id;
        private int city_id;
        private int marry;
        private int state;
        private int is_public;


        @Override
        public String toString() {
            return "DataBean{" +
                    "resume_id=" + resume_id +
                    ", member_id=" + member_id +
                    ", name='" + name + '\'' +
                    ", header_url=" + header_url +
                    ", sex=" + sex +
                    ", birthday='" + birthday + '\'' +
                    ", edu=" + edu +
                    ", work=" + work +
                    ", mobile='" + mobile + '\'' +
                    ", email='" + email + '\'' +
                    ", province_id=" + province_id +
                    ", city_id=" + city_id +
                    ", marry=" + marry +
                    ", state=" + state +
                    ", is_public=" + is_public +
                    '}';
        }

        public int getIs_public() {
            return is_public;
        }

        public void setIs_public(int is_public) {
            this.is_public = is_public;
        }


        public int getResume_id() {
            return resume_id;
        }

        public void setResume_id(int resume_id) {
            this.resume_id = resume_id;
        }

        public int getMember_id() {
            return member_id;
        }

        public void setMember_id(int member_id) {
            this.member_id = member_id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public Object getHeader_url() {
            return header_url;
        }

        public void setHeader_url(Object header_url) {
            this.header_url = header_url;
        }

        public int getSex() {
            return sex;
        }

        public void setSex(int sex) {
            this.sex = sex;
        }

        public String getBirthday() {
            return birthday;
        }

        public void setBirthday(String birthday) {
            this.birthday = birthday;
        }

        public int getEdu() {
            return edu;
        }

        public void setEdu(int edu) {
            this.edu = edu;
        }

        public int getWork() {
            return work;
        }

        public void setWork(int work) {
            this.work = work;
        }

        public String getMobile() {
            return mobile;
        }

        public void setMobile(String mobile) {
            this.mobile = mobile;
        }

        public String getEmail() {
            return email;
        }

        public void setEmail(String email) {
            this.email = email;
        }

        public int getProvince_id() {
            return province_id;
        }

        public void setProvince_id(int province_id) {
            this.province_id = province_id;
        }

        public int getCity_id() {
            return city_id;
        }

        public void setCity_id(int city_id) {
            this.city_id = city_id;
        }

        public int getMarry() {
            return marry;
        }

        public void setMarry(int marry) {
            this.marry = marry;
        }

        public int getState() {
            return state;
        }

        public void setState(int state) {
            this.state = state;
        }
    }

    @Override
    public String toString() {
        return "JianLiModle{" +
                "code=" + code +
                ", msg='" + msg + '\'' +
                ", data=" + data.toString() +
                '}';
    }
}
